// src/main/java/com/bigwork/security/JwtTokenResponse.java
package com.example.bigwork.config;

import com.example.bigwork.dto.response.UserResponse;
import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class JwtTokenResponse {
    private String token;
    private String type = "Bearer";
    private UserResponse user;

    // 简化构造函数
    public JwtTokenResponse(String token, UserResponse user) {
        this.token = token;
        this.user = user;
    }
}